<table width="90%">
	<tr>
		<td width="50%"><img src="<?php echo base_url();?>images/logo_imr.png"></td>
		<td align="right">
			<table>
				<tr><td><h3>PT. ISTANA MITRA RIAU</h3></td></tr>
				<tr><td>Taman Tekno Bumi Serpong Damai G3 No. 8</td></tr>
				<tr><td>Serpong Tangerang, Telp/ Fax : (021) 29338951</td></tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center" style="padding-top:20px;"><h2><u>EQUIPMENT DELIVERY TOOLS</u></h2></td>
	</tr>
</table>
<table width="90%" border=1 cellpadding=4 cellspacing=0>
	<tr>
		<td align="center" colspan="2"><b>IMR EMPLOYEE</b></td>
		<td align="center"><b>District</b></td>
		<td align="center" colspan="2"><b>Checked By</b></td>
		<td align="center" width="170"><b>Delivery Number</b></td>
	</tr>
	<tr>
		<td align="center" colspan="2"><?php echo $penggunaan["pembuat"]; ?></td>
		<td align="center"><?php echo $penggunaan["daerah"]; ?></td>
		<td align="center" colspan="2"><?php echo $penggunaan["pemeriksa"]; ?></td>
		<td align="center"><?php echo $penggunaan["nosuratjalan"]; ?></td>
	</tr>
	<tr>
		<td width="30" rowspan="4"></td>
		<td colspan="4" align="center"><b>To Party</b><br><br><?php echo $penggunaan["tujuan"]; ?></td>
		<td align="center"><b>Date</b><br><br><?php echo $penggunaan["tglsurat"]; ?></td>
	</tr>
	<tr>
		<td colspan="4" align="center"><b>Rig / Vendor Name</b><br><br><?php echo $penggunaan["rig"]." / ".$penggunaan["namavendor"]; ?></td>
		<td align="center"><b>Location</b><br><br><?php echo $penggunaan["lokasi"]; ?></td>
	</tr>
	<tr>
		<td colspan="4" align="center" valign="top">
			<table width="100%">
				<tr>
					<td align="center" width="50%"><b>Address</b></td>
					<td align="center"><b>Country</b></td>
				</tr>
				<tr>
					<td align="center" valign="bottom"><?php echo $penggunaan["alamat"]; ?></td>
					<td align="center" valign="bottom"><?php echo $penggunaan["negara"]; ?></td>
				</tr>
			</table>
		</td>
		<td align="center"><b>Requested By</b><br><br><div style="text-align: justify;"><?php echo $penggunaan["peminta"]; ?></div></td>
	</tr>
	<tr>
		<td align="center"><b>DELIVERY DATE</b></td>
		<td align="center"><?php echo $penggunaan["tglkirim"]; ?></td>
		<td align="center" colspan="2"><b>DEPARTURE TIME</b></td>
		<td align="center"></td>
	</tr>
	<tr>
		<td align="center"><b>No.</b></td>
		<td align="center"><b>ITEM</b></td>
		<td align="center"><b>SERIAL No.</b></td>
		<td align="center"><b>WEIGHT</b></td>
		<td align="center"><b>QTY</b></td>
		<td align="center"></td>
	</tr>
	<?php
	$loop = 1;
	foreach($penggunaandetail as $row){
		echo '<tr>
				<td align="center">'.$loop.'</td>
				<td align="left">'.$row["nmbarang"].' kg</td>
				<td align="center"></td>
				<td align="center">'.$row["berat"].' kg</td>
				<td align="center">1</td>
				<td align="center"></td>
			</tr>';
		$loop ++;
	}
	?>
	
	<tr>
		<td colspan="2">Employee Signature</td>
		<td colspan="2" height="50"></td>
		<td colspan="2" align="center">Remarks</td>
	</tr>
	<tr>
		<td colspan="2">Transport Company</td>
		<td colspan="2" align="center"><?php echo $penggunaan["transportasi"]; ?></td>
		<td colspan="2" align="center">Company Man</td>
	</tr>
	<tr>
		<td colspan="2">Driver Name</td>
		<td colspan="2"></td>
		<td colspan="2" rowspan="4"></td>
	</tr>
	<tr>
		<td colspan="2">Vehicle Number</td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td colspan="2">Contact Number</td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td colspan="2">Signature</td>
		<td colspan="2" height="50"></td>
	</tr>
</table>